package com.haoxin.ai_course.modules.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;
import com.haoxin.ai_course.modules.course.mapper.AcNodeUserMapper;
import com.haoxin.ai_course.modules.course.entity.AcNodeUser;
import com.haoxin.ai_course.modules.course.service.AcNodeUserService;



@Service
public class AcNodeUserServiceImpl extends ServiceImpl<AcNodeUserMapper, AcNodeUser> implements AcNodeUserService {

	@Override
	public AcNodeUser getCurrentNode(Integer courseId,long userId) {
		// TODO Auto-generated method stub
		return this.baseMapper.getCurrentNode(userId,courseId);
	}

	@Override
	public Integer batchInsert(List<AcNodeUser> acNodeUsers) {
		// TODO Auto-generated method stub
		return this.baseMapper.insertBatchSomeColumn(acNodeUsers);
	}

	@Override
	public int changeIsEnter(AcNodeUser acNodeUser) {
		// TODO Auto-generated method stub
		return this.baseMapper.changeIsEnter(acNodeUser);
	}

	
}
